import service from '@/utils/request'

// 获取轮播图
export function getBanner (num) {
  return service({
    url: `/banner?type=${num}`,
    method: 'get'
  })
}

// 获取推荐歌单
export function getRecommend (num) {
  return service({
    url: `/personalized?limit=${num}`,
    method: 'get'
  })
}
